package com.ssd.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ssd.view.AbstractEntity;
import lombok.Data;


/**
 * 工单对象 tb_task
 *
 * @author itheima
 * @date 2024-07-24
 */
@Data
@TableName(value = "tb_task")
public class Task extends AbstractEntity {
    @TableId(value = "task_id",type = IdType.ASSIGN_ID)
    private Long taskId;//工单编号
    @TableField(value = "task_name")
    private String taskName;//工单名称
    @TableField(value = "task_status")
    private Integer taskStatus;//工单状态
    @TableField(value = "create_type")
    private Integer createType;//创建类型 0：自动 1：手动
    @TableField(value = "inner_code")
    private String innerCode;//售货机编码
    @TableField(value = "user_id")
    private Long userId;//执行人id
    @TableField(value = "user_name")
    private String userName;//执行人名称
    @TableField(value = "`desc`")
    private String desc;//描述
    @TableField(value = "product_type_id")
    private Integer productTypeId;//创建时间
    @TableField(value = "assignor_id")
    private Long assignorId;//更新时间
    @TableField(value = "region_id")
    private Long regionId;//工单类型id
    @TableField(value = "task_code")
    private String taskCode;//指派人Id
}
